package be.fomp.jeve.application.data.standard.characterids;

import org.jdom.Element;

import be.fomp.jeve.application.data.standard.CharacterIDs.Character;

final class CharacterImpl implements Character {
	static final long serialVersionUID = 1L;
	
	private String name;
	private Integer characterID;
	
	CharacterImpl(Element characterElement)
	{
		name = characterElement.getAttributeValue("name");
		characterID = Integer.valueOf(characterElement.getAttributeValue("characterID"));
	}

	public String getName() {
		return name;
	}
	
	public Integer getCharacterID() {
		return characterID;
	}
}
